﻿using Zeus.Classes.Documents;
using Zeus.Events;

namespace Zeus.Classes.Views
{

    public abstract class View 
    {
        public Document CDocument { get; set; }
        public View(Document Doc)
        {
            CDocument = Doc;
        }

        public  void Render()
        {
            App.EventAggegator.GetEvent<AddNewTab>().Publish(this);
        }

        public abstract void Initialize();
        public abstract void Show();
    }
}